package top.javadev.typora.minio.config;

import java.io.Serializable;

/**
 * 上传配置
 * 
 * @author javadev.top
 * @date 2021/10/12
 */
public class UploadConfig implements Serializable {
    /** 访问密钥 */
    private String accessKey;
    /** 秘密密钥 */
    private String secretKey;
    /** 域名 */
    private String host;
    /** bucket名称 */
    private String bucketName;

	/** 自定义前缀 */
	private String customKey;

	@Override
	public String toString() {
		return "UploadConfig{" + "accessKey='" + accessKey + '\'' + ", secretKey='" + secretKey + '\'' + ", host='"
				+ host + '\'' + ", bucketName='" + bucketName + '\'' + ", customKey='" + customKey + '\'' + '}';
	}

	public String getCustomKey() {
		return customKey;
	}

	public void setCustomKey(String customKey) {
		this.customKey = customKey;
	}

	public String getAccessKey() {
        return accessKey;
    }

    public void setAccessKey(String accessKey) {
        this.accessKey = accessKey;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getBucketName() {
        return bucketName;
    }

    public void setBucketName(String bucketName) {
        this.bucketName = bucketName;
    }
}
